<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>

		<script type="text/javascript">

$(function() {
	fixTable.FixTable("mytable");
	$("#fullScreen").click(function() {
		fullScreen.FullScreen("mylist");
	});
})
function doQuery() {
	document.form1.action = "${path}/team/kpi/index/kpiquery";
	document.form1.submit();

}
</script>
	</head>

	<body id="master">
		<sfa:mainHeader></sfa:mainHeader>
		<form action="" name="form1" method="post">
			<div class="webpart3 contentarea">
				<div class="webpart-head">
					<div class="webpart-head-item">
						竞赛查询
						<div class="tools-btn">
							<a href="javascript:" id="fullScreen"><span> <img
										src="${path}/statics/images/qp.gif"
										style="margin-right: 4px; margin-bottom: -3px;" />全屏</span> </a>
						</div>
					</div>
				</div>
				<div class="webpart-main">
					<div class="webpart-main-item" style="padding-top: 12px;">
						<div class="search">
							<table width="100%" border="0" cellspacing="0" cellpadding="10"
								class="table_form">
								<tbody>


									<tr>
										<td align="right">
											<span>姓名 </span>:
										</td>
										<td>
											<input type="text" id="agentname" name="agentname"
												class="inputbox" value="${agentname}" />
										</td>
										<td>
											<span>级别 </span>:
										</td>
										<td>
											<sfa:dic showType="select" kindNo="AGENTLEVELCODE"
												code="${aLevelCode}" def="AGENTLEVELCODE_ALL:全部"
												attr="class='selectbox'" name="agentLevelCode"
												id="agentLevelCode">
											</sfa:dic>
										</td>
										<td align="right">
												<input name="Input" type="button" class="linkbtn2" value="查  询"
											onclick="doQuery()" /> 
										</td>
									</tr>


								</tbody>
							</table>
						</div>


						<div id="mylist" style="height: 365px;" class="dlist">
							<table id="mytable" cellpadding="0" cellspacing="0"
								class="dg_borderstyle  trStyleTable"
								style="margin-top: 0px; text-align: center;">
								<tr>
									<th style="min-width: 65px; max-width: 50px;" name="fixcol">
										&nbsp;
									</th>
									<th style="min-width: 80px; max-width: 80px;">
										&nbsp;
									</th>
									<th colspan="11" align="center">
										活动人力
									</th>
									<th rowspan="2" align="center" valign="middle">
										持证率
									</th>
									<th colspan="2" align="center">
										签约人力
									</th>
								</tr>

								<tr>
									<th width="30" align="center" valign="middle">
										姓名
									</th>
									<th width="30" align="center" valign="middle">
										级别
									</th>
									<th width="1" align="center" valign="middle">
										寿险活动人力&nbsp;&nbsp;&nbsp;
									</th>
									<th width="1" align="center" valign="middle">
										综拓活动人力&nbsp;&nbsp;&nbsp;
									</th>
									<th width="1" align="center" valign="middle">
										寿险标准人力&nbsp;&nbsp;&nbsp;
									</th>
									<th width="1" align="center" valign="middle">
										综拓标准人力&nbsp;&nbsp;&nbsp;
									</th>
									<th width="1" align="center" valign="middle">
										标准人力&nbsp;&nbsp;&nbsp;
									</th>
									<th width="1" align="center" valign="middle">
										标准活动率&nbsp;&nbsp;&nbsp;
									</th>
									<th width="1" align="center" valign="middle">
										主管活动率&nbsp;&nbsp;&nbsp;
									</th>
									<th width="1" align="center" valign="middle">
										股东人力&nbsp;&nbsp;&nbsp;
									</th>
									<th width="1" align="center" valign="middle">
										股东活动率&nbsp;&nbsp;&nbsp;
									</th>
									<th width="1" align="center" valign="middle">
										3月内新人&nbsp;&nbsp;&nbsp;
									</th>
									<th width="1" align="center" valign="middle">
										新人活动率&nbsp;&nbsp;&nbsp;
									</th>
									<th width="1" align="center" valign="middle">
										当月签约&nbsp;&nbsp;&nbsp;
									</th>
									<th width="1" align="center" valign="middle">
										当月解约&nbsp;&nbsp;&nbsp;
									</th>
								</tr>

								<c:forEach items="${list}" var="l">
									<tr>
										<td width="30" align="center" valign="middle">
											${l.agentname}
										</td>
										<td width="1" align="center" valign="middle">
											${l.agentLevel}
										</td>
										<td width="1" align="center" valign="middle"></td>
										<td width="1" align="center" valign="middle">
										</td>
										<td width="1" align="center" valign="middle">
										</td>
										<td width="1" align="center" valign="middle">
										</td>
										<td width="1" align="center" valign="middle">
										</td>
										<td width="1" align="center" valign="middle">
										</td>
										<td width="1" align="center" valign="middle">
											-
										</td>
										<td width="1" align="center" valign="middle">
											-
										</td>
										<td width="1" align="center" valign="middle">
											-
										</td>
										<td width="1" align="center" valign="middle">
										</td>
										<td width="1" align="center" valign="middle">
										</td>
										<td width="1" align="center" valign="middle">
										</td>
										<td width="1" align="center" valign="middle">
											${l.monthcontract }
										</td>
										<td width="1" align="center" valign="middle">
											${l.monthCancellation }
										</td>
									</tr>
								</c:forEach>

							</table>
						</div>
					</div>
				</div>
				<div class="webpart-foot">
					<div class="webpart-foot-item">
					</div>
				</div>
			</div>
		</form>
		<sfa:mainFooter></sfa:mainFooter>
	</body>
</html>


